xen: arm32: reduce default size of the xenheap
authorIan Campbell <ian.campbell@citrix.com>
Thu, 19 Feb 2015 17:39:54 +0000 (17:39 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 25 Feb 2015 13:42:11 +0000 (13:42 +0000)
commit67c7e46c7c78b36a3541c48bdb3b4739b932a426
tree4a83c84ab96697c8124708f8f6fcf910a1c03653
parentf74a9a5fe44d4060ae02d9bf7cefc597a3a6b785
xen: arm32: reduce default size of the xenheap

... and make it tunable via the command line.

1/8 of RAM is 128M on a 1GB system and 256M on a 2GB system etc,
which is a lot. 1/32 of RAM seems more reasonable. Also drop the
minimum to 32M.

Leave the maximum at 1GB.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
Cc: Jintack Lim <jintack@cs.columbia.edu>
Cc: Jan Beulich <JBeulich@suse.com>
docs/misc/xen-command-line.markdown
xen/arch/arm/setup.c